package net.ericaro.neojavagen.types ;
import net.ericaro.neojavagen.types.TypeBound;
import net.ericaro.neojavagen.types.TypeVariable ;

/**
* *<pre> TypeParameter :
    TypeVariable TypeBound?
</pre>
*/
public class TypeParameter   {

TypeVariable typevariable;
TypeBound typebound ;

public TypeParameter( TypeVariable typevariable, TypeBound typebound ){
	this.typevariable = typevariable; this.typebound = typebound ;
	}public TypeParameter( TypeVariable typevariable ){
this.typevariable = typevariable ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.typevariable ).append(" ");
if (this.typebound !=null ) stringbuilder.append( this.typebound ).append(" ") ;
	return stringbuilder.toString();
}

}
